<!--#include virtual="/Common/Config.asp" -->
<!--#include virtual="/Common/conn.asp" -->
<!--#include virtual="/2010admin/Check_IsLogin.asp" -->
<!--#include virtual="/Common/Function.asp" -->
<!--#include file="Realestate_Info_Inc.asp" -->
<%
If Request.ServerVariables ("Request_Method")="POST" Then
	Call Info_Action()	
Else
	
	Call Get_Info("Info_ID")
End If
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="/2010admin/css/default.css" type="text/css" rel="stylesheet">
<title><%=web_title%></title>
<script language="javascript" src="/2010admin/js/validator.js"></script>
<script language="javascript" src="/js/jquery.js"></script>
<script language="javascript" src="js/Rent_info.js"></script>
<script type="text/javascript" src="/2010admin/ckeditor/ckeditor.js"></script>
<script type="text/javascript" src="/2010admin/ckfinder/ckfinder.js"></script>

</head>
<body >
<table border="0" width="100%" cellSpacing="0" cellPadding="0">
  <tr>
    <td width="100%" height="5"></td>
  </tr>
  <tr>
    <td width="100%" align="center">
      <table border="0" width="98%" cellSpacing="0" cellPadding="0">
        <tr>
          <td width="*" align="center" valign="top">
            <table border="0" width="100%" cellSpacing="0" cellPadding="0" class="lrbtline">
              <tr>
                <td width="100%" height="25" class="tbtop">管理导航</td>
              </tr>
              <tr>
                <td width="100%" align="center">
                  <table border="0" width="98%" cellSpacing="0" cellPadding="0">
                    <tr>
                      <td width="100%" height="5"></td>
                    </tr>
                  </table>
                  <table border="0" width="98%" cellSpacing="0" cellPadding="0">
                    <tr>
                      <td width="100%" height="20">&nbsp;<img src="/2010admin/images/sico.gif" border="0">&nbsp;<span id="userlist"><a href="Realestate_Info_Query.asp">信息列表</a></span>&nbsp;<img src="/2010admin/images/sico.gif" border="0">&nbsp;<span id="useradd"><a href="Realestate_Info_AE.asp">增加新的楼盘信息</a></td>
                    </tr>
                    <tr>
                      <td width="100%" height="5"></td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
            <table border="0" width="100%" cellSpacing="0" cellPadding="0">
              <tr>
                <td width="100%" height="5"></td>
              </tr>
            </table>
            <table border="0" width="100%" cellSpacing="0" cellPadding="0" class="lrbtline">
              <tr>
                <td width="100%" height="25" class="tbtop"><%=Action%>楼盘信息</td>
              </tr>
              <tr>
                <td width="100%" align="center">
                  <table border="0" width="98%" cellSpacing="0" cellPadding="0">
                    <tr>
                      <td width="100%" height="5"></td>
                    </tr>
                  </table>
                  <table border="0" width="98%" cellSpacing="0" cellPadding="0" class="tablesh">
                  <form name="form" method="post" action="" onSubmit="return Validator.Validate(this, 2)">

                    <tr>
                      <td height="25">城市</td>
                      <td><% Selected_BySql "RI_City","SELECT CA_Name,CA_Name FROM City_Area WHERE Parent_ID=0 ORDER BY CA_Order ASC","",RI_City %></td>
                    </tr>
                    <tr>
                      <td width="80" height="25">楼盘小图</td>
                      <td width="*">
					  <input type="text" name="RI_Pic"  value="<%=RI_Pic%>" size="60" ><iframe id=d_file frameborder=0 src="/2010admin/common/file_upload.asp?change_field=RI_Pic" width="300" height="40" scrolling=no></iframe>
                     </td>
                    </tr>
                    <tr>
                      <td width="80" height="25">楼盘大图</td>
                      <td width="*">
					  <input type="text" name="RI_Pic_B"  value="<%=RI_Pic_B%>" size="60" ><iframe id=d_file frameborder=0 src="/2010admin/common/file_upload.asp?change_field=RI_Pic_B" width="300" height="40" scrolling=no></iframe>
                     </td>
                    </tr>
                    <tr>
                      <td width="80" height="25">楼盘名称</td>
                      <td width="*"><input name="RI_Name" type="text" id="RI_Name" size="60" value="<%=RI_Name%>" dtype="Limit" min="2" max="100" dmsg="楼盘名称必须在2-100个字符间"></td>
                    </tr>
                    <tr>
                      <td width="80" height="25">楼盘状态</td>
                      <td width="*"><% MySelected "RI_Status","期房,准现房,现房,成熟小区","期房,准现房,现房,成熟小区","",RI_Status%></td>
                    </tr>

                    <tr>
                      <td width="80" height="25">楼盘地址</td>
                      <td width="*"><input name="RI_Address" type="text" id="RI_Address" size="60" value="<%=RI_Address%>" dtype="Limit" min="2" max="100" dmsg="楼盘地址必须在2-100个字符间"></td>
                    </tr>

                    <tr>
                      <td width="80" height="25">开发商</td>
                      <td width="*"><input name="RI_Developer" type="text" id="RI_Developer" size="60" value="<%=RI_Developer%>" dtype="Limit" min="2" max="100" dmsg="开发商必须在2-100个字符间"></td>
                    </tr>
                    <tr>
                      <td width="80" height="25">预售证</td>
                      <td width="*"><input name="RI_Sell_No" type="text" id="RI_Sell_No" size="60" value="<%=RI_Sell_No%>" dtype="Limit" min="2" max="20" dmsg="预售证必须在2-20个字符间"></td>
                    </tr>

                   <tr>
                      <td width="80" height="25">起价</td>
                      <td width="*"><input name="RI_Start_Price" type="text" id="RI_Start_Price" size="60" value="<%=RI_Start_Price%>" dtype="Integer"  dmsg="起价必须是数字"></td>
                    </tr>	
                   <tr>
                      <td width="80" height="25">均价</td>
                      <td width="*"><input name="RI_Avg_Price" type="text" id="RI_Avg_Price" size="60" value="<%=RI_Avg_Price%>" dtype="Integer"  dmsg="均价必须是数字"></td>
                    </tr>	

                   <tr>
                      <td width="80" height="25">开盘时间</td>
                      <td width="*"><input name="RI_Open_Date" type="text" id="RI_Open_Date" size="60" value="<%=RI_Open_Date%>" dtype="Limit" min="2" max="20" dmsg="开盘时间必须在2-20个字符间"></td>
                    </tr>

                   <tr>
                      <td width="80" height="25">交房时间</td>
                      <td width="*"><input name="RI_Start_Date" type="text" id="RI_Start_Date" size="60" value="<%=RI_Start_Date%>" dtype="Limit" min="2" max="20" dmsg="交房时间必须在2-20个字符间"></td>
                    </tr>

                   <tr>
                      <td width="80" height="25">销售电话</td>
                      <td width="*"><input name="RI_Sell_Phone" type="text" id="RI_Sell_Phone" size="60" value="<%=RI_Sell_Phone%>" dtype="Limit" min="2" max="50" dmsg="销售电话必须在2-50个字符间"></td>
                    </tr>
                   <tr>
                      <td width="80" height="25">项目介绍</td>
                      <td width="*"><textarea name="RI_Detail" class="ckeditor"><%=RI_Detail%></textarea></td>
                    </tr>

					<tr>
                      <td width="80" height="25">物业</td>
                      <td width="*"><input name="RI_WY" type="text" id="RI_WY" size="60" value="<%=RI_WY%>" dtype="Limit" min="2" max="100" dmsg="物业须在2-100个字符间"></td>
                    </tr>

					<tr>
                      <td width="80" height="25">朝向</td>
                      <td width="*"><input name="RI_CX" type="text" id="RI_CX" size="60" value="<%=RI_CX%>" dtype="Limit" min="2" max="100" dmsg="朝向须在2-100个字符间"></td>
                    </tr>

					<tr>
                      <td width="80" height="25">占地面积</td>
                      <td width="*"><input name="RI_ZDMZ" type="text" id="RI_ZDMZ" size="60" value="<%=RI_ZDMZ%>" dtype="Limit" min="2" max="100" dmsg="占地面积须在2-100个字符间"></td>
                    </tr>

					<tr>
                      <td width="80" height="25">建筑形式</td>
                      <td width="*"><input name="RI_JZXS" type="text" id="RI_JZXS" size="60" value="<%=RI_JZXS%>" dtype="Limit" min="2" max="100" dmsg="建筑形式须在2-100个字符间"></td>
                    </tr>

					<tr>
                      <td width="80" height="25">装修状况</td>
                      <td width="*"><input name="RI_ZXZK" type="text" id="RI_ZXZK" size="60" value="<%=RI_ZXZK%>" dtype="Limit" min="2" max="100" dmsg="装修状况须在2-100个字符间"></td>
                    </tr>

					<tr>
                      <td width="80" height="25">建筑面积</td>
                      <td width="*"><input name="RI_JZMZ" type="text" id="RI_JZMZ" size="60" value="<%=RI_JZMZ%>" dtype="Limit" min="2" max="100" dmsg="建筑面积须在2-100个字符间"></td>
                    </tr>

					<tr>
                      <td width="80" height="25">车 位</td>
                      <td width="*"><input name="RI_CW" type="text" id="RI_CW" size="60" value="<%=RI_CW%>" dtype="Limit" min="2" max="100" dmsg="车 位须在2-100个字符间"></td>
                    </tr>
					<tr>
                      <td width="80" height="25">主力户型</td>
                      <td width="*"><input name="RI_HX" type="text" id="RI_HX" size="60" value="<%=RI_HX%>" dtype="Limit" min="2" max="100" dmsg="主力户型须在2-100个字符间"></td>
                    </tr>

					<tr>
                      <td width="80" height="25">景观设计</td>
                      <td width="*"><input name="RI_JGSJ" type="text" id="RI_JGSJ" size="60" value="<%=RI_JGSJ%>" dtype="Limit" min="2" max="100" dmsg="景观设计须在2-100个字符间"></td>
                    </tr>

					<tr>
                      <td width="80" height="25">最大栋距</td>
                      <td width="*"><input name="RI_JDZJ" type="text" id="RI_JDZJ" size="60" value="<%=RI_JDZJ%>" dtype="Limit" min="2" max="100" dmsg="最大栋距须在2-100个字符间"></td>
                    </tr>

					<tr>
                      <td width="80" height="25">最小栋距</td>
                      <td width="*"><input name="RI_JXZJ" type="text" id="RI_JXZJ" size="60" value="<%=RI_JXZJ%>" dtype="Limit" min="2" max="100" dmsg="最小栋距须在2-100个字符间"></td>
                    </tr>

					<tr>
                      <td width="80" height="25">规划设计</td>
                      <td width="*"><input name="RI_GHSJ" type="text" id="RI_GHSJ" size="60" value="<%=RI_GHSJ%>" dtype="Limit" min="2" max="100" dmsg="规划设计须在2-100个字符间"></td>
                    </tr>

					<tr>
                      <td width="80" height="25">楼层状况</td>
                      <td width="*"><input name="RI_LSJK" type="text" id="RI_LSJK" size="60" value="<%=RI_LSJK%>" dtype="Limit" min="2" max="100" dmsg="楼层状况须在2-100个字符间"></td>
                    </tr>

                   <tr>
                      <td width="80" height="25">交通状况</td>
                      <td width="*"><textarea name="RI_JTZK" class="ckeditor"><%=RI_JTZK%></textarea></td>
                    </tr>
                   <tr>
                      <td width="80" height="25">周边配套</td>
                      <td width="*"><textarea name="RI_ZBPT" class="ckeditor"><%=RI_ZBPT%></textarea></td>
                    </tr>
                  <tr>
                      <td width="80" height="25">社区服务</td>
                      <td width="*"><textarea name="RI_SXFW" class="ckeditor"><%=RI_SXFW%></textarea></td>
                    </tr>

                    <tr>
                      <td height="25">&nbsp;</td>
                      <td><input type="submit" name="submit" value="提交" class="button">&nbsp;<input type="reset" name="reset" value="取消" class="button"></td>
                    </tr>
					<input type="hidden" name="Info_ID" value="<%=Info_ID%>">
                  </form>
                  </table>
                  <table border="0" width="98%" cellSpacing="0" cellPadding="0">
                    <tr>
                      <td width="100%" height="5"></td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td width="100%" height="5"></td>
  </tr>
</table>
</body>
</html>
<script language="javascript">
<!--
var Area_ID="<%=City_Area%>";

City_Change();

//-->
</script>

<%
Call conn_close()
%>

